package com.teamone.mobilewatch.model;

/**
 * Holds patient data
 * 
 */
public class Patient {
	private int patientId;
	private String firstName;
	private String lastName;
	private String room;
	private String department;
	private String gender;
	private boolean selected;
	private PatientReadings lastReadings;

	/**
	 * Gets patient id
	 * 
	 */
	public int getPatientId() {
		return patientId;
	}

	/**
	 * Sets patient id
	 * 
	 * @param patientId
	 *            - id of patient
	 */
	public void setPatientId(int patientId) {
		this.patientId = patientId;
	}

	/**
	 * Returns first name of patient
	 * 
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * Sets first name of patient
	 * 
	 * @param firstName
	 *            - patient first name
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * Returns last name of patient
	 * 
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * Sets last name of patient
	 * 
	 * @param lastName
	 *            - patient last name
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * Returns room of the patient
	 * 
	 */
	public String getRoom() {
		return room;
	}

	/**
	 * Sets room of the patient
	 * 
	 * @param room
	 *            - room of the patient
	 */
	public void setRoom(String room) {
		this.room = room;
	}

	/**
	 * Returns department of the patient
	 * 
	 */
	public String getDepartment() {
		return department;
	}

	/**
	 * Sets department of the patient
	 * 
	 * @param department
	 *            - department of the patient
	 */
	public void setDepartment(String department) {
		this.department = department;
	}

	/**
	 * Returns gender of the patient
	 * 
	 */
	public String getGender() {
		return gender;
	}

	/**
	 * Sets gender of the patient
	 * 
	 * @param gender
	 *            - gender of the patient
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}

	/**
	 * Sets selected flag
	 * 
	 * @param selected
	 *            - flag if patient is selected
	 */
	public void setSelected(boolean selected) {
		this.selected = selected;
	}

	/**
	 * Gets selected flag
	 */
	public boolean isSelected() {
		return selected;
	}

	/**
	 * Sets last patient readings record
	 * 
	 * @param lastReadings
	 *            - last patient readings record
	 */
	public void setLastReadings(PatientReadings lastReadings) {
		this.lastReadings = lastReadings;
	}

	/**
	 * Retruns last patient readings record
	 */
	public PatientReadings getLastPatientReadings() {
		return lastReadings;
	}

}
